package com.vhall.component.service.interactive;

import com.vhall.component.entity.export.dto.AdminExportCommonQueryCondition;
import com.vhall.component.entity.interactive.vo.QuestionAdmDeleteReqVO;
import com.vhall.component.entity.interactive.vo.QuestionAdmListReqVO;
import com.vhall.component.entity.interactive.vo.QuestionAdmRspVO;
import com.vhall.component.entity.page.vo.PageVO;

import java.util.Set;

/**
 * @author yuanzh
 * @date 2021/11/24
 */
public interface QuestionAdminService {

    /**
     * admin-问卷列表
     *
     * @param reqVO 参数
     * @return 返回值
     */
    PageVO<QuestionAdmRspVO> list(QuestionAdmListReqVO reqVO);

    /**
     * admin-删除问卷
     *
     * @param reqVO 参数
     * @return 返回值
     */
    Set<String> delete(QuestionAdmDeleteReqVO reqVO);

    /**
     * 针对admin导出计算总条数
     *
     * @param condition 查询条件
     * @return 总条数
     * @author yuanzh
     */
    Integer countForAdminExport(AdminExportCommonQueryCondition condition);
}
